package com.dmap.admin.controller.rpc;

import com.dmap.base.vo.BaseVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * \* User: silent
 * \* Date: 29/03/18 Time: 09:27
 * \* Description: 心跳检测接口
 * \
 */
@Controller
@RequestMapping(value = "/background/pmpd-admin-server/keepalived")
public class KeepAlivedController {

    @RequestMapping(value = "/", method = RequestMethod.GET)
    @ApiOperation(value = "心跳检测接口", notes = "心跳检测接口")
    @ResponseBody
    public BaseVo keepalived() {
        BaseVo baseVo = new BaseVo();
        baseVo.setData("success");
        return baseVo;
    }
}
